import {request} from "@/network/request";

export function getArticleById(articleId) {
  return request({
    url: '/article/getArticleById',
    params: {
      articleId
    }
  })
}

//获取分类中的文章
export function listArticleByCategoryId(categoryId) {
  return request({
    url: '/article/listArticleByCategoryId',
    params: {
      categoryId
    }
  })
}
